Beautiful Architecture by Gousios Georgios Spinellis Diomidis & Georgios Gousios

Beautiful Architecture by Gousios Georgios Spinellis Diomidis & Georgios Gousios

Author:Gousios, Georgios, Spinellis, Diomidis & Georgios Gousios [Diomidis Spinellis ]
Language: eng
Format: epub
Tags: COMPUTERS / Systems Architecture / General
ISBN: 9780596554392
Publisher: O'Reilly Media, Inc.
Published: 2009-01-14T16:00:00+00:00


3 × new Operation() for a rotating buffer

2 × new int[] for the expanding buffer in Operation

33 × new IllegalStateException() on exception paths

Once an instance of the decoder is created, the only necessary object construction is for expansion of the int[] buffers in Operation. Once the buffers have expanded, there is no object construction and no garbage collection, and therefore there is pause-less decoding.

The design of the decoder illustrates what we consider one of the important tenets of programming (and in this case, of Java):

Just because you can, it doesn’t mean you should.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.